package com.flower.mapper;

import com.flower.model.entity.Out;
import com.flower.model.entity.Outstorage;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author lm
 * @create 2022-03-26 15:27
 */
@Mapper
public interface OutMapper{
    Page<Outstorage> findPage(Page<Outstorage> page, String outId, String outOper, String outCustomer, String startTime, String endTime);

    Double sumByToday();

    public Integer totalsale();

    Double sumByPaid();

    Page<Outstorage> findPage1(Page<Outstorage> page, String startTime, String endTime);

    void add(Outstorage outstorage);

    void update(Outstorage outstorage);

    List<Out> list();

    void removeById(Integer id);
}
